
<tr class="loop<?php if ($this->partialCounter % 2 == 0) echo "-grey"; ?>" >
    <td><a href="/event/detail?id=<?php echo $this->model->id; ?>">
            <?php
            $locale = new Zend_Locale();
            if ($locale->getLanguage() == 'de') {
                $date = new Zend_Date($this->model->date, 'de_DE');
                if ($date->get("Y-MM-dd") > date("Y-m-d"))
                    echo "<i class='icon-bell'></i> ";
                echo $date->get(Zend_Date::WEEKDAY) . ", " . $this->translate("the") . " " . $date->get('dd. MMMM yyyy');
            }
            else {
                $date = new Zend_Date($this->model->date, 'en_GB');
                if ($date->get("Y-MM-dd") > date("Y-m-d"))
                    echo "<i class='icon-bell'></i> ";

                echo $date->get(Zend_Date::WEEKDAY) . ", " . $this->translate("the") . " " . $date->get('dd. MMMM yyyy');
            }
            ?>

        </a> 
    </td>
    <td><a href="/event/detail?id=<?php echo $this->model->id; ?>"><?php echo $this->model->locationName; ?></a></td>
</tr>
